<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue</title>
</head>
<script src="vue.js"></script>


<body>

    <div id="app">
        <bs-panel></bs-panel>
    </div>

<script type="text/x-template" id="bsPanel">
    <div>
        <slot></slot>
    </div>

</script>
<script>

    var bsPanel={
        template:'#bsPanel',
        props:['lists'],
        data(){
            return{
                
            };

        },
        methods:{
            del(k){
                this.news.splice(k,1);
            }
        }
    };
    var app=new Vue({
        el:'#app',
        components:{
            bsPanel
        },
        data: {},



    });

</script>
</body>
</html>